treeviewcolumn: use g_clear_object when freeing cursor
authorChristian Hergert <chergert@redhat.com>
Tue, 27 Sep 2016 19:41:55 +0000 (12:41 -0700)
committerChristian Hergert <chergert@redhat.com>
Tue, 27 Sep 2016 19:41:55 +0000 (12:41 -0700)
commit3c775eb2b808c6f7b1b7a6eab5fefe1085d74c5a
treea4575f6c3803265e43610a774a45f2a8b8391981
parent8a7d0ab4813457088335685e956313afbd1d65a1
treeviewcolumn: use g_clear_object when freeing cursor

There is the chance that the cursor returned NULL on systems
with missing cursors. This defensively handles that by checking
for a NULL cursor.
gtk/gtktreeviewcolumn.c